﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GoodTrader.GTDownload
{
    public class CpDataSet
    {
        private CpDayData mFutureDayData = new CpDayData();
        public GoodTrader.GTDownload.CpDayData FutureDayData
        {
            get { return mFutureDayData; }
            set { mFutureDayData = value; }
        }
        
        // 야간 선물 데이터
        private CpFutureData mCmeData = new CpFutureData();
        public GoodTrader.GTDownload.CpFutureData CmeData
        {
            get { return mCmeData; }
            set { mCmeData = value; }
        }

        private CpFutureData mFutureTickData = new CpFutureData();
        public GoodTrader.GTDownload.CpFutureData FutureTickData
        {
            get { return mFutureTickData; }
            set { mFutureTickData = value; }
        }
        private CpFutureData mFutureData = new CpFutureData();
        public GoodTrader.GTDownload.CpFutureData FutureData
        {
            get { return mFutureData; }
            set { mFutureData = value; }
        }
        private CpFutureMstData mFutureMstData = new CpFutureMstData();
        public GoodTrader.GTDownload.CpFutureMstData FutureMstData
        {
            get { return mFutureMstData; }
            set { mFutureMstData = value; }
        }
        private CpSvrNew7221Data mSvr7221Data = new CpSvrNew7221Data();
        public GoodTrader.GTDownload.CpSvrNew7221Data Svr7221Data
        {
            get { return mSvr7221Data; }
            set { mSvr7221Data = value; }
        }

        private CpSvr8111SData mSvr8111SData = new CpSvr8111SData();
        public GoodTrader.GTDownload.CpSvr8111SData Svr8111SData
        {
            get { return mSvr8111SData; }
            set { mSvr8111SData = value; }
        }

        // 옵션 데이터 맵 : 키는 옵션 코드, 값은 CpOptionData 객체
        private Dictionary<string, CpOptionData> mOptionDataMap = new Dictionary<string, CpOptionData>();
        public Dictionary<string, CpOptionData> OptionDataMap
        {
            get { return mOptionDataMap; }
            set { mOptionDataMap = value; }
        }
    }
}
